const { dir } = require('async');
const { program } = require('commander');

program
  .argument('<dirs...>', 'array')
  .action((dirs) => {
    dirs.forEach((arr) => {
      console.log('==' + arr)
    })
  });

  program.parseAsync(process.argv)
  .then(() => {
    console.log('DONE');
    process.exit(0);
  })
  .catch((err) => {
    console.error(err);
    process.exit(1);
  });